home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 9675 / 9675.xpi / chrome / content / simpletimer-countdown.xul < prev    next >
Extensible Markup Language  |  2009-08-03  |  7KB  |  174 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/"
  4.                  type="text/css"?>
  5.  
  6. <?xml-stylesheet href="chrome://simpletimer/content/simpletimer.css"
  7.                  type="text/css"?>
  8.  
  9. <!DOCTYPE dialog SYSTEM "chrome://simpletimer/locale/simpletimer.dtd">
  10.  
  11. <dialog id="simtim-dlgCountdownTimeEntry"
  12.         title="&countdown.time.name;"
  13.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14.         buttons="accept, cancel"
  15.         onload="SimpleTimerCountdown.onLoadCountdown();"
  16.         ondialogaccept="return SimpleTimerCountdown.onOKCountdown();"
  17.         persist="screenX screenY ">
  18.  
  19. <script type="application/x-javascript"
  20.         src="chrome://simpletimer/content/simpletimer-countdown.js" />
  21.  
  22. <script type="application/x-javascript"
  23.         src="chrome://simpletimer/content/simpletimer.js" />
  24.  
  25. <stringbundleset id="stringbundleset">
  26.     <stringbundle id="simtim-strings"
  27.                   src="chrome://simpletimer/locale/simpletimer.properties" />
  28. </stringbundleset>
  29.  
  30. <groupbox id="simtim-gboxCountdown">
  31.     <caption label="&countdown.grpbox.entry;"
  32.              class="simtim-prefGroupboxLabel" />
  33.     <grid>
  34.         <columns>
  35.             <column flex="1"/>
  36.             <column flex="2"/>
  37.         </columns>
  38.         <rows>
  39.             <row align="center">
  40.                 <label id="simtim-labCountdownDescr"
  41.                        value="¬ify.label.description;:"
  42.                        control="simtim-tboxCountdownDescr" />
  43.                 <textbox id="simtim-tboxCountdownDescr"
  44.                          class="simtim-borderColors"
  45.                          flex="1"
  46.                          width="350"
  47.                          tooltiptext="¬ify.description.tip;" />
  48.             </row>
  49.             <separator />
  50.             <row align="center">
  51.                 <label id="simtim-labCountdownTime"
  52.                        value="¬ify.label.time;:" />
  53.                 <hbox>
  54.                     <vbox>
  55.                         <textbox id="simtim-tboxCountdownHours"
  56.                                  class="simtim-borderColors"
  57.                                  type="number"
  58.                                  value="0"
  59.                                  wraparound="true"
  60.                                  size="2"
  61.                                  min="0"
  62.                                  max="23" />
  63.                         <vbox align="center">
  64.                             <label value="&countdown.label.hours;"
  65.                                    control="simtim-tboxCountdownHours" />
  66.                         </vbox>
  67.                     </vbox>
  68.                     <vbox>
  69.                         <textbox id="simtim-tboxCountdownMinutes"
  70.                                  class="simtim-borderColors"
  71.                                  type="number"
  72.                                  value="0"
  73.                                  wraparound="true"
  74.                                  size="2"
  75.                                  min="0"
  76.                                  max="59" />
  77.                         <vbox align="center">
  78.                             <label value="&countdown.label.minutes;"
  79.                                    control="simtim-tboxCountdownMinutes" />
  80.                         </vbox>
  81.                     </vbox>
  82.                     <vbox>
  83.                         <textbox id="simtim-tboxCountdownSeconds"
  84.                                  class="simtim-borderColors"
  85.                                  type="number"
  86.                                  value="0"
  87.                                  wraparound="true"
  88.                                  size="2"
  89.                                  min="0"
  90.                                  max="59" />
  91.                         <vbox align="center">
  92.                             <label value="&countdown.label.seconds;"
  93.                                    control="simtim-tboxCountdownSeconds" />
  94.                         </vbox>
  95.                     </vbox>
  96.                 </hbox>
  97.             </row>
  98.         </rows>
  99.     </grid>
  100.     <separator />
  101.     <checkbox id="simtim-cboxCountdownRecurring"
  102.               label="&countdown.label.recurring;"
  103.               tooltiptext="&countdown.recurring.tip;" />
  104.     <separator />
  105.     <hbox pack="center">
  106.         <button id="simtim-btnCountdownAddOk"
  107.                 label="¬ify.btn.addOk;"
  108.                 tooltiptext="¬ify.btn.addOk.tip;"
  109.                 oncommand="SimpleTimerCountdown.onAddOkCountdown();" />
  110.     </hbox>
  111. </groupbox>
  112. <separator />
  113. <hbox flex="1">
  114.     <vbox pack="center">
  115.         <button id="simtim-btnCountdownAdd"
  116.                 label="¬ify.btn.add;"
  117.                 tooltiptext="¬ify.btn.add.tip;"
  118.                 oncommand="SimpleTimerCountdown.onAddCountdown();" />
  119.         <button id="simtim-btnCountdownDel"
  120.                 label="¬ify.btn.del;"
  121.                 tooltiptext="&countdown.btn.del.tip;"
  122.                 oncommand="SimpleTimerCountdown.onDeleteCountdown();"/>
  123.         <button id="simtim-btnCountdownDelAll"
  124.                 label="¬ify.btn.del.all;"
  125.                 tooltiptext="&countdown.btn.del.all.tip;"
  126.                 oncommand="SimpleTimerCountdown.onDeleteAllCountdown();" />
  127.         <button id="simtim-btnSaveList"
  128.                 label="&countdown.btn.save.list;"
  129.                 tooltiptext="&countdown.btn.save.list.tip;"
  130.                 oncommand="SimpleTimerCountdown.onSaveList();" />
  131.         <button id="simtim-btnLoadList"
  132.                 label="&countdown.btn.load.list;"
  133.                 tooltiptext="&countdown.btn.load.list.tip;"
  134.                 oncommand="SimpleTimerCountdown.onLoadList();" />
  135.         <button id="simtim-btnCountdownReset"
  136.                 label="¬ify.btn.reset;"
  137.                 tooltiptext="¬ify.btn.reset.tip;"
  138.                 oncommand="SimpleTimerCountdown.onLoadCountdown();" />
  139.     </vbox>
  140.     <vbox flex="1">
  141.         <label id="simtim-labCountdown"
  142.                class="simtim-boldLabel"
  143.                value="&countdown.label.tree;" />
  144.         <tree id="simtim-treeCountdown"
  145.               class="simtim-borderColors"
  146.               hidecolumnpicker="true"
  147.               editable="true"
  148.               flex="1"
  149.               rows="5">
  150.             <treecols>
  151.                 <treecol id="simtim-colCountdownTime"
  152.                          label="¬ify.label.time;"
  153.                          flex="1" />
  154.                 <splitter class="tree-splitter" />
  155.                 <treecol id="simtim-colCountdownRecur"
  156.                          label="¬ify.label.recurring;"
  157.                          type="checkbox"
  158.                          fixed="true"
  159.                          editable="true"
  160.                          primary="true" />
  161.                 <splitter class="tree-splitter" />
  162.                 <treecol id="simtim-colCountdownDescription"
  163.                          label="¬ify.label.description;"
  164.                          editable="true"
  165.                          flex="3" />
  166.             </treecols>
  167.             <treechildren id="simtim-treeItems"
  168.                           class="simtim-treeChildren" />
  169.         </tree>
  170.     </vbox>
  171. </hbox>
  172.  
  173. </dialog>
  174.